package main

import (
	"GoPro/Server/mynet"
	"GoPro/Server/task"
)

type Users struct {
	UserName string
}

func main() {

	server := mynet.GetServer("127.0.0.1", 8080)
	server.AddRouter(2, &task.LoginRouter{})
	server.AddRouter(3, &task.CreateRoomRouter{})
	server.AddRouter(5, &task.GetRoomUserRouter{})
	server.AddRouter(4, &task.JoinRoomRouter{})
	server.Service()

}
